import { Layout } from '@fl/utils/routerHelper'

const orderManagement: AppRouteRecordRaw = {
    children: [
        {
            component: () => import('@/operations-pages/order-management/order-list/index.vue'),
            meta: {
                title: '订单列表',
            },
            name: 'order-list',
            path: 'order-list',
        },
        {
            component: () => import('@/operations-pages/order-management/order-list/show.vue'),
            meta: {
                activeMenu: '/operations-pages/operations-order-management/order-list',
                hidden: true,
                noTagsView: true,
                title: '订单详情',
            },
            name: 'order-list-show',
            path: 'order-list/:id',
        },
    ],
    component: Layout,
    meta: {
        alwaysShow: true,
        title: '订单管理',
    },
    name: 'operations-order-management',
    path: 'operations-order-management',
}

export default orderManagement
